package al.il.technion.cs236635.project.tests;

import java.io.BufferedReader;
import java.io.InputStreamReader;

import javax.xml.ws.Endpoint;

public class Deployer {

	public static void main(String[] args) {
		Endpoint endpoint = Endpoint.create( new TestServer( ));
		endpoint.publish( "http://localhost:9090/Test");
		try {
			BufferedReader reader = new BufferedReader( new InputStreamReader( System.in));
			System.out.println( "Wainting...");
			reader.read( );
			endpoint.stop( );
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}
	
}
